package com.yami.shop.webservice.common.service;


import cn.hutool.extra.mail.MailException;
import com.yami.shop.bean.model.EntrustVo;
import com.yami.shop.bean.model.TransactionAndEntrustVo;
import com.yami.shop.bean.model.TransactionVo;
import com.yami.shop.webservice.common.model.ClassCardVo;
import com.yami.shop.webservice.common.model.ClassVo;

import java.util.List;

/**
 * 交收卡增发记录Service接口
 * 
 * @author zhangchaoqun
 * @date 2021-10-13
 */
public interface WapiSubmittedService
{
    /**
     * 成交报送
     * @param transactionVoList
     * @return
     * @throws MailException
     */
    public void toWapiSubmittedTransaction(List<TransactionVo> transactionVoList) throws MailException;


    /**
     * 委托报送
     * @param entrustVoList
     * @return
     * @throws MailException
     */
    public void toWapiSubmittedEntrust(List<EntrustVo> entrustVoList) throws MailException;


    /**
     * 商品种类报送
     * @param classVoList
     * @return
     * @throws MailException
     */
    public void toWapiSubmittedGoodClass(List<ClassVo> classVoList) throws MailException;

    /**
     * 交收卡种类报送
     * @param classVoList
     * @return
     * @throws MailException
     */
    public void toWapiSubmittedCardClass(List<ClassCardVo> classVoList) throws MailException;


    /**
     * 报送和委托报送
     * @param transactionAndEntrustVo
     * @return
     * @throws MailException
     */
    public void submittedTransaction(TransactionAndEntrustVo transactionAndEntrustVo) throws MailException;

}